package com.tude.egarticle3.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class UserArticleParam {
    @NotBlank(message = "标题不能为空")
    private String title;
    @Size(min = 10, max = 500, message = "文章字数在10-500之间")
    private String content;
}
